#ifndef _TIMER_H_
#define _TIMER_H_

#include <windows.h>

class CStopWatch 
{
public:

	CStopWatch() ;
	void startTimer( ) ;
	void stopTimer( ) ;
	double getElapsedTime() ;

private:

	struct 
	{
		LARGE_INTEGER start;
		LARGE_INTEGER stop;
	} timer;

	LARGE_INTEGER frequency;
	double LIToSecs( LARGE_INTEGER & L) ;
};

#endif